<!DOCTYPE html>
<html>
<head>
    <link href="https://cdn.bootcss.com/twitter-bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet"></link>
    <style type="text/css">
        body {
            font-family: 'Microsoft YaHei';
        }

        @page {
            size: A4;
        }

        .pdf {
            max-width: 680px !important;
        }

        .container {
            margin-left: 0;
        }
    </style>
    <style>
        @font-face {
            font-family: "Times New Roman";
        }

        @font-face {
            font-family: "宋体";
        }

        @font-face {
            font-family: "Wingdings";
        }

        @font-face {
            font-family: "Calibri";
        }

        p.MsoNormal {
            mso-style-name: Normal;
            mso-style-parent: "";
            margin: 0pt;
            margin-bottom: .0001pt;
            font-family: Calibri;
            mso-fareast-font-family: 宋体;
            mso-bidi-font-family: 'Times New Roman';
        }

        span

        .10
        {
            font-family: 'Times New Roman'
        ;
        }

        span.msoIns {
            mso-style-type: export-only;
            mso-style-name: "";
            text-decoration: underline;
            text-underline: single;
            color: blue;
        }

        span.msoDel {
            mso-style-type: export-only;
            mso-style-name: "";
            text-decoration: line-through;
            color: red;
        }

        table.MsoNormalTable {
            mso-style-name: "Table Normal";
            mso-style-parent: "";
            mso-style-noshow: yes;
            mso-tstyle-rowband-size: 0;
            mso-tstyle-colband-size: 0;
            mso-padding-alt: 0.0000pt 5.4000pt 0.0000pt 5.4000pt;
            mso-para-margin: 0pt;
            mso-para-margin-bottom: .0001pt;
            mso-pagination: widow-orphan;
            font-family: 'Times New Roman';
            font-size: 10.0000pt;
            mso-ansi-language: #0400;
            mso-fareast-language: #0400;
            mso-bidi-language: #0400;
        }

        @page {
            mso-page-border-surround-header: no;
            mso-page-border-surround-footer: no;
        }

        @page Section0 {
            margin-top: 72.0000pt;
            margin-bottom: 72.0000pt;
            margin-left: 90.0000pt;
            margin-right: 90.0000pt;
            size: 595.3000pt 841.9000pt;
            layout-grid: 18.0000pt;
            mso-header-margin: 36.0000pt;
            mso-footer-margin: 36.0000pt;
        }

        div.Section0 {
            page: Section0;
        }</style>
</head>
<body class="pdf">
<div class="container pdf">
    <h1 class="pdf">根据 FreeMarker 模板导出 PDF 文件（基于 Spring Boot）</h1>
    <h2 class="pdf">作者：${author}</h2>
    <hr></hr>
    <h3 class="pdf">测试换行1测试换行2测试换行3测试换行4测试换行5测试换行6测试换行7测试换行测试换行9测试换行10测试换行11测试换行12测试换行</h3>
    <p class="pdf">
        <img src="https://avatar.csdn.net/6/1/D/3_sai_simon.jpg"></img>
        <br></br>
        <a href="${url}">文章地址</a>

        <input name="test" type="radio" aria-label="a" <#if test == 'a'>checked="checked"</#if> /> a
    <input name="test" type="radio" aria-label="b"/>b
    <input name="test" type="radio" aria-label="v"/>v
    <input name="test" type="radio" aria-label="c"/>c
    </p>
    <div class="pdf">空&nbsp;格</div>
</div>
</body>
</html>